STEP 4: We always store the user input in a variable. We can use that input later, for example in a.say() command.

The input variable lets us store the text that the user types. We can change that name of that variable to remind us of the value it holds.

  • Change the name of the input variable from choice to season.
  • Go to and drag out Say. Replace the string in .say() with the variable season.


To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)